import request from "@/utils/request"

//货物入仓列表
export function getWarehouseInList(data:any,params:any) {
  return request({
    url: `/storage/hwrc/list`,
    method: 'post',
    data: data,
    params:params
  })
}

//货物入仓现场入仓添加
export function setWarehouseIn(data:any) {
  return request({
    url: `/storage/hwrc/add`,
    method: 'post',
    data: data,
  })
}

//货物入仓->详细
export function getWarehouseInDetailList(data:any) {
  return request({
    url: `/storage/hwrc/detail/${data.dzid}/${data.shztn}`,
    method: 'post',
    data: data
  })
}

//货物入仓->绑定单据详细
export function getStorageInBindingDetail(data:any) {
  return request({
      url: `/storage/wx/o/selectHwrcRoDetail/${data.dzid}`,
      method: 'post',
      data: data
  })
}

